package br.com.ppj.mb;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@SessionScoped
@ManagedBean
public class CounterBean implements Serializable{  
  
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int count;  
  
    public int getCount() {  
        return count;  
    }  
  
    public void setCount(int count) {  
        this.count = count;  
    }  
      
    public void increment() {  
        count++;  
    }  
}  